package com.af.monitorModule.generator.mapper;

import com.af.monitorModule.generator.entity.Monitor;
import com.af.monitorModule.generator.entity.VO.MonitorVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyz_4dou
 * @since 2021-02-23
 */
@Component
public interface MonitorMapper extends BaseMapper<Monitor> {

    IPage<MonitorVO> findMonitor(Page<Monitor> page, @Param(Constants.WRAPPER) Wrapper<Monitor> wrapper);

    Integer stopBatch(String ids);


}
